import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import AppRouter from './route/AppRouter';
import './index.css';
import * as serviceWorker from './serviceWorker';
import Iheader from './Component/Iheader'
import {Layout, Menu, Breadcrumb} from 'antd';
import './Component/Iheader.css'
import Home_app from './Component/Home_app';
import AppIndex from "./index/AppIndex";

import { LocaleProvider } from 'antd';/**antd全局中文**/
import zh_CN from 'antd/lib/locale-provider/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('zh-cn');

export default class App extends Component {
    render() {
        return (
            <LocaleProvider locale={zh_CN}><AppRouter/></LocaleProvider>
        );
    }
}
ReactDOM.render(<App/>, document.getElementById('root'));

serviceWorker.unregister();

